/*
 * 文件名：Customer.java
 * 版权：Copyright by www.wootide.com
 * 描述：
 * 修改人：Administrator
 * 修改时间：2013-2-21
 * 跟踪单号：
 * 修改单号：
 * 修改内容：
 */
package com.wootide.cms.service.customer.custmanager.pojo;

import java.sql.Timestamp;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Customer implements java.io.Serializable
{
    
    /**
     * 意义，目的和功能，以及被用到的地方<br>
     */
    private static final long serialVersionUID = 2153065403400282701L;
    
    /**
     * 客户ID,主键
     */
    private Integer customerId;
    
    /**
     * 一卡通卡号
     */
    
    private Long cardNo;
    

    
    /**
     * 人脸通卡号
     */
    private Long cardSn;
    
    /**
     * 客户姓名
     */
    private String custName;
    
    /**
     * 性别
     */
    private Integer sex;
    
    /**
     * 国籍
     */
    private String nationality;
    
    /**
     * 生日
     */
    private Date birthday;
    
    /**
     * 证件类型：例如，身份证、军官证、学生证
     */
    private Integer typeID;
    
    /**
     * 证件号码
     */
    private String numberID;
    
    /**
     * 证件有效期
     */
    private Timestamp validID;
    
    /**
     * 职业
     */
    private String profession;
    
    /**
     * 客户状态
     */
    private Integer status;
    
    /**
     * 职务
     */
    private String post;
    
    /**
     * 联系电话
     */
    private String tel;
    
    /**
     * 工作单位
     */
    private String company;
    
    /**
     * 单位地址
     */
    private String companyAddr;
    
    /**
     * 单位电话
     */
    private String companyTel;
    
    /**
     * 家庭地址
     */
    private String homeAddr;
    
    /**
     * 家庭电话
     */
    private String homeTel;
    
    /**
     * 邮箱
     */
    private String email;
    
    /**
     * 个人爱好
     */
    private Integer personalHobby;
    
    /**
     * 个人照片路径
     */
    private String photoPath;
    
    /**
     * 客户级别
     */
    private ClientLevel clientLevelId;
    
    /**
     * 注册时间
     */
    private Timestamp registrationDate;
    
    /**
     * 该用户的创建者
     */
    private Customer operatorId;
    
    /**
     * 订单集合
     */
    @SuppressWarnings("rawtypes")
    private Set bookOrderInfos;
    /**
     * toString
     */
    public String toString()
    {
        return "Customer [customerId=" + customerId + ", cardNo=" + cardNo
                + ", cardSn=" + cardSn + ", custName=" + custName + ", sex="
                + sex + ", nationality=" + nationality + ", birthday="
                + birthday + ", typeID=" + typeID + ", numberID=" + numberID
                + ", validID=" + validID + ", profession=" + profession
                + ",  post=" + post + ", tel=" + tel
                + ", company=" + company + ", companyAddr=" + companyAddr
                + ", companyTel=" + companyTel + ", homeAddr=" + homeAddr
                + ", homeTel=" + homeTel + ", email=" + email
                + ", personalHobby=" + personalHobby + ", photoPath="
                + photoPath + ", clientLevelId=" + clientLevelId
                + ", registrationDate=" + registrationDate + ", operatorId="
                + operatorId + "]";
    }

    @SuppressWarnings("rawtypes")
    public Set getBookOrderInfos()
    {
        return bookOrderInfos;
    }

    @SuppressWarnings("rawtypes")
    public void setBookOrderInfos(Set bookOrderInfos)
    {
        this.bookOrderInfos = bookOrderInfos;
    }
    
    public Integer getCustomerId()
    {
        return customerId;
    }
    
    public void setCustomerId(Integer customerId)
    {
        this.customerId = customerId;
    }
    
    public String getCustName()
    {
        return custName;
    }
    
    public void setCustName(String custName)
    {
        this.custName = custName;
    }
    
    public Integer getSex()
    {
        return sex;
    }
    
    public void setSex(Integer sex)
    {
        this.sex = sex;
    }
    
    public String getNationality()
    {
        return nationality;
    }
    
    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }
    
    public Integer getTypeID()
    {
        return typeID;
    }
    
    public void setTypeID(Integer typeID)
    {
        this.typeID = typeID;
    }
    
    public String getNumberID()
    {
        return numberID;
    }
    
    public void setNumberID(String numberID)
    {
        this.numberID = numberID;
    }
    
    public Timestamp getValidID()
    {
        return validID;
    }
    
    public void setValidID(Timestamp validID)
    {
        this.validID = validID;
    }
    
    public String getProfession()
    {
        return profession;
    }
    
    public void setProfession(String profession)
    {
        this.profession = profession;
    }
    
    public String getPost()
    {
        return post;
    }
    
    public void setPost(String post)
    {
        this.post = post;
    }
    
    public String getTel()
    {
        return tel;
    }
    
    public void setTel(String tel)
    {
        this.tel = tel;
    }
    
    public String getCompany()
    {
        return company;
    }
    
    public void setCompany(String company)
    {
        this.company = company;
    }
    
    public String getCompanyAddr()
    {
        return companyAddr;
    }
    
    public void setCompanyAddr(String companyAddr)
    {
        this.companyAddr = companyAddr;
    }
    
    public String getCompanyTel()
    {
        return companyTel;
    }
    
    public void setCompanyTel(String companyTel)
    {
        this.companyTel = companyTel;
    }
    
    public String getHomeAddr()
    {
        return homeAddr;
    }
    
    public void setHomeAddr(String homeAddr)
    {
        this.homeAddr = homeAddr;
    }
    
    public String getHomeTel()
    {
        return homeTel;
    }
    
    public void setHomeTel(String homeTel)
    {
        this.homeTel = homeTel;
    }
    
    public String getEmail()
    {
        return email;
    }
    
    public void setEmail(String email)
    {
        this.email = email;
    }
    
    public Integer getPersonalHobby()
    {
        return personalHobby;
    }
    
    public void setPersonalHobby(Integer personalHobby)
    {
        this.personalHobby = personalHobby;
    }
    
    public String getPhotoPath()
    {
        return photoPath;
    }
    
    public void setPhotoPath(String photoPath)
    {
        this.photoPath = photoPath;
    }
    
    public ClientLevel getClientLevelId()
    {
        return clientLevelId;
    }
    
    public void setClientLevelId(ClientLevel clientLevelId)
    {
        this.clientLevelId = clientLevelId;
    }
    
    public Timestamp getRegistrationDate()
    {
        return registrationDate;
    }
    
    public void setRegistrationDate(Timestamp registrationDate)
    {
        this.registrationDate = registrationDate;
    }
    
    public Customer getOperatorId()
    {
        return operatorId;
    }
    
    public void setOperatorId(Customer operatorId)
    {
        this.operatorId = operatorId;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Long getCardNo()
    {
        return cardNo;
    }

    public void setCardNo(Long cardNo)
    {
        this.cardNo = cardNo;
    }

   

    public Long getCardSn()
    {
        return cardSn;
    }

    public void setCardSn(Long cardSn)
    {
        this.cardSn = cardSn;
    }

    public Date getBirthday()
    {
        return birthday;
    }

    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

}
